<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>一石知识，一石思考，一石实践</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
    <meta name="generator" content="hexo-theme-ayer">
    <!--    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">-->
    <link rel="stylesheet" href="./css/vue.css">
    <link rel="shortcut icon" href="/favicon.ico"/>
</head>
<body>
<div id="app"></div>
<script>
    window.$docsify = {
        auto2top: true, //当路线改变时，滚动到屏幕的顶部。
        coverpage: false, //激活封面功能。如果为true，则会从中加载_coverpage.md。
        executeScript: true, //执行页面上的脚本。只解析第一个脚本标记（演示）。如果存在Vue，则默认开启。
        loadSidebar: true, //_sidebar.md如果为真，则从_sidebar.md文件加载边栏，否则从指定的路径加载。
        loadNavbar: false,//_navbar.md如果为真，则从_navbar.md文件加载navbar ，否则从指定的路径加载。
        mergeNavbar: true,//Navbar将在小屏幕上与侧边栏合并。
        maxLevel: 2,//最大的内容表级别。
        subMaxLevel: 3,//在自定义边栏中添加目录（TOC）。
        // 搜索相关插件
        ga: 'UA-106147152-1',
        name: '目录',
        search: {
            noData: {
                '/de-de/': 'Keine Ergebnisse!',
                '/zh-cn/': '没有结果!',
                '/': '找不到结果'
            },
            paths: 'auto',
            placeholder: {
                '/de-de/': 'Suche',
                '/zh-CN/': '搜索',
                '/': '搜索'
            }
        },
        formatUpdated: '{MM}/{DD} {HH}:{mm}',
        plugins: [
            // function (hook, vm) {
            //     hook.beforeEach(function (html) {
            //         return html
            //                + '<hr/>'
            //                + '上次更新：{docsify-updated} '
            //     })
            // },

            function (hook, vm) {
                hook.mounted(function () {
                    var div = Docsify.dom.create('div')
                    div.id = 'gitalk-container'
                    var main = Docsify.dom.getNode('#main')
                    div.style = `width: ${main.clientWidth}px; margin: 0 auto 20px;`
                    Docsify.dom.appendTo(Docsify.dom.find('.content'), div)
                })

                hook.doneEach(function () {
                    var el = document.getElementById('gitalk-container')
                    while (el.hasChildNodes()) {
                        el.removeChild(el.firstChild)
                    }
                    gitalk.render('gitalk-container')
                })
            }
        ],
        //字数统计
        count:{
            countable:true,
            fontsize:'0.9em',
            color:'rgb(90,90,90)',
            language:'chinese'
        }
    }
</script>
<!-- 引入搜索模块 -->
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!--<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>-->
<!--<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>-->
<!--<script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script>-->
<!--<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>-->
<!--<script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script>-->
<!--<script src="//unpkg.com/prismjs/components/prism-nginx.min.js"></script>-->

<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>


<!-- 评论插件Gitalk -->
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
<div id="gitalk-container"></div>
<script type="text/javascript">
    var gitalk = new Gitalk({
                                // gitalk的主要参数
                                clientID: '921d0cb90aa4c2a9d530', //plugin-gitalk-githuban https://github.com/settings/applications/1518490
                                clientSecret: 'c5e099f46b1aa8a1592fa297d9b936e019cac26a',
                                repo: 'plugin-gitalk-githuban',  //您刚才建立仓库的名字
                                owner: 'githuban',   //你的GitHub用户名字
                                admin: ['githuban'],  //你的GitHub用户的名字
                                id: 'indow.location.pathname', //id不能重复，如果重复就会把其他页面的评论引进来
                            });
    // gitalk.render('gitalk-container');
</script>

<!-- 样式插件 -->
<link rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">

<!--Java代码高亮-->
<script src="//unpkg.com/prismjs/components/prism-java.js"></script>
<!--全文搜索,直接用官方提供的无法生效-->
<!--<script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>-->
<!--谷歌统计
<script src="//unpkg.com/docsify" data-ga="UA-138586553-1"></script>
<script src="//unpkg.com/docsify/lib/plugins/ga.js"></script>
-->
<!-- 复制到剪贴板 -->
<script src="//unpkg.com/docsify-copy-code"></script>
<!-- 图片缩放 -->
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<!-- 字数统计 -->
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>

<!--<nav>-->
<!--    <a href="#/">首页</a>-->
<!--</nav>-->
</body>
</html>
